Selective posted data error detection based on history

ABSTRACT

In a data processing system, a selection is made, based at least on addresses of previously detected errors in a memory subsystem, between at least a first timing and a second timing of data transmission with respect to completion of error detection processing on a target memory block of the memory access request. In response to receipt of the memory access request and selection of the first timing, data from the target memory block is transmitted to a requestor prior to completion of error detection processing on the target memory block. In response to receipt of the memory access request and selection of the second timing, data from the target memory block is transmitted to the requestor after and in response to completion of error detection processing on the target memory block.

BACKGROUND OF THE INVENTION

The present invention relates in general to data processing. In someaspects, the present invention relates to decreasing effective dataaccess latency by varying the timing of error detection processing in amemory subsystem of a data processing system. In other aspects, thepresent invention relates to improving utilizing of processing resourcesby speculatively finishing instructions associated with high latencyoperations.

In processor chip design, the trend has been to include an everincreasing number of processor cores per processor chip. Increasing thenumber of processor cores increases the volume of data consumed byexecution of the processor cores, and accordingly places pressure on thebit rates of chip-to-chip interconnects and external memory (e.g.,dynamic random access memory (DRAM)) to supply the required volume ofdata. However, these higher bit rates result in higher inherent biterror rates on the interconnects, thus requiring more robusterror-correcting code (ECC) and/or cyclic redundancy check (CRC) codesto ensure a reasonable level of data integrity. Further, complex errorcodes, such as ECC and CRC, tend to increase access latency due to theneed for deeper error correction logic pipelines for error detection andcorrection.

Another trend impacting processor chip design is that DRAM accesslatency, while continuing to slowly improve over recent years, has notkept pace with increases in processor core clock rates. Thus, externalmemory access latency, as measured relative to processor clock rates,has actually degraded. The conventional technique for compensating forexternal memory access latency has been to implement larger and deeperon-chip cache hierarchies to buffer frequently used data closer to theconsuming processor cores. However, limits in overall chip sizes forcesa tradeoff between the number of processor cores and the amount of cachememory on the chip. Consequently, the opportunity to improve effectivememory access latency simply by increasing on-chip cache capacity islimited.

BRIEF SUMMARY

In some embodiments, effective memory access latency is improved bymasking access latency through selective application of posted errordetection processing.

In some embodiments, utilization of processing resources is improved byspeculatively finishing instructions associated with high latencyoperations.

In at least one embodiment, a selection is made, based at least on anaccess type of a memory access request, between at least a first timingand a second timing of data transmission with respect to completion oferror detection processing on a target memory block of the memory accessrequest. In response to receipt of the memory access request andselection of the first timing, data from the target memory block istransmitted to a requestor prior to completion of error detectionprocessing on the target memory block. In response to receipt of thememory access request and selection of the second timing, data from thetarget memory block is transmitted to the requestor after and inresponse to completion of error detection processing on the targetmemory block.

In at least one embodiment, a selection is made, based at least onaddresses of previously detected errors in a memory subsystem, betweenat least a first timing and a second timing of data transmission withrespect to completion of error detection processing on a target memoryblock of the memory access request. In response to receipt of the memoryaccess request and selection of the first timing, data from the targetmemory block is transmitted to a requestor prior to completion of errordetection processing on the target memory block. In response to receiptof the memory access request and selection of the second timing, datafrom the target memory block is transmitted to the requestor after andin response to completion of error detection processing on the targetmemory block.

In at least one embodiment, high latency operations are tracked inentries of a data structure associated with an execution unit of theprocessor core. In the execution unit, execution of an instructiondependent on a high latency operation tracked by an entry of the datastructure is speculatively finished prior to completion of the highlatency operation. Speculatively finishing the instruction includesreporting an identifier of the entry to completion logic of theprocessor core and removing the instruction from an execution pipelineof the execution unit. The completion logic records dependence of theinstruction on the high latency operation and commits execution resultsof the instruction to an architected state of the processor only aftersuccessful completion of the high latency operation.

BRIEF DESCRIPTION OF THE SEVERAL VIEWS OF THE DRAWINGS

FIG. 1 is a high level block diagram of an exemplary data processingsystem in accordance with one embodiment;

FIG. 2 is a more detailed view of a memory controller (MC) of FIG. 1 inaccordance with one embodiment;

FIG. 3 is a more detailed view of a memory buffer (MB) of FIG. 1 inaccordance with one embodiment;

FIG. 4 is a high level logical flowchart of an exemplary process fordetermining whether posted error detection processing is to be enabledfor a read memory access operation in accordance with one embodiment;

FIG. 5 is a more detailed view of an optional posted error processingpredictor (PEPP) in the control logic of a memory controller inaccordance with one embodiment;

FIG. 6 is a high level logical flowchart of an exemplary method by whichthe PEPP determines whether to inhibit posted error detection processingfor a read memory access request based on historical information inaccordance with one embodiment;

FIG. 7 is a timing diagram of a read access to a memory block inaccordance with one embodiment;

FIG. 8 is a more detailed view of a portion of a processor core inaccordance with one embodiment;

FIG. 9 is a high level logical flowchart of an exemplary process bywhich the load miss queue (LMQ) of FIG. 8 handles return of load data inaccordance with one embodiment;

FIG. 10 is a high level logical flowchart of an exemplary process bywhich a finish stage of the load-store unit of FIG. 8 reports finish ofa load-type instruction to the global completion table (GCT) inaccordance with one embodiment;

FIG. 11 is a high level logical flowchart of an exemplary process bywhich the GCT tracks speculatively finished instructions in accordancewith one embodiment;

FIG. 12 is a high level logical flowchart of an exemplary process bywhich the GCT handles LMQ deallocation reports in accordance with oneembodiment;

FIG. 13 is a high level logical flowchart of an exemplary process bywhich the GCT completes instruction groups in accordance with oneembodiment; and

FIG. 14 is a data flow diagram of an exemplary design process.

DETAILED DESCRIPTION

With reference now to the figures and with particular reference to FIG.1, there is illustrated a high level block diagram of an exemplary dataprocessing system 100 that is one of the numerous possible embodimentsof a data processing system in accordance with the principles andtechniques disclosed herein. Data processing system 100 may beimplemented, for example, with one of the IBM Power servers, a productline of International Business Machines Corporation of Armonk, N.Y.

In the depicted embodiment, data processing system 100 includes at leastone system-on-a-chip (SOC) 102, and as indicated by elliptical notation,possibly numerous SOCs 102 coupled by system fabric 130 integratedwithin the SOCs 102. Each SOC 102 is preferably realized as a singleintegrated circuit chip having a substrate in which semiconductorcircuitry is fabricated as is known in the art. Each SOC 102 includesmultiple processor cores 104 that independently process instructions anddata. In some embodiments, processor cores 104 further supportsimultaneous multithreading in which multiple independent threads areconcurrently executed. Each processor core 104 includes an instructionsequencing unit (ISU) 106 for fetching instructions, ordering theinstructions for execution, and completing the instructions bycommitting the results of execution to the architected state of theprocessor core 104. As discussed further below, ISU 106 completesinstructions by reference to a global completion table (GCT) 105.

Each processor core 104 further includes one or more execution units forexecuting instructions such as, for example, fixed and floating pointarithmetic instructions, logical instructions, and load-type andstore-type instructions that respectively request read and write accessto a target memory block in the coherent address space of dataprocessing system 100. In particular, the execution units include aload-store unit (LSU) 108 that executes the load-type and store-typeinstructions to compute target addresses of read and write memory accessoperations. LSU 108 includes a store-through level one (L1) cache 110from which read memory access operations can be satisfied, as well as aload miss queue (LMQ) 112 that tracks read memory access operations thatmiss in L1 cache 110.

The operation of each processor core 104 is supported by a multi-levelhierarchical memory subsystem having at its lowest level one or moreshared system memories 140 (e.g., bulk DRAM) generally accessible by anyof processor cores 104 in any of the SOCs 102 in data processing system100, and at its upper levels, one or more levels of cache memory. Asdepicted, SOC 102 includes one or more (and preferably multiple) memorychannel interfaces (MCIs) 132, each of which supports read and writeaccesses to an associated collection of system memories 140 in responseto memory access operations received via system fabric 130 fromprocessor cores 104 in the same SOC 102 or other SOCs 102. In thedepicted embodiment, each MCI 132 is coupled to its associatedcollection of system memories 140 via an external memory buffer (MB)134.

In the illustrative embodiment, the cache memory hierarchy supportingeach processor core 104 of SOC 102 includes the store-through level one(L1) cache 110 noted above and a private store-in level two (L2) cache120. As shown, L2 cache 120 includes an L2 array 122 and an L2controller 124, which includes control logic and a directory 126 ofcontents of L2 array 122. L2 controller 124 initiates operations onsystem fabric 130 and/or accesses L2 array 122 in response to memoryaccess (and other) requests received from the associated processor core104. In an embodiment in which a snoop-based coherency protocol isimplemented (as will be hereafter assumed), L2 controller 124additionally detects operations on system fabric 130, providesappropriate coherence responses, and performs any accesses to L2 array122 required by the snooped operations. Although the illustrated cachehierarchy includes only two levels of cache, those skilled in the artwill appreciate that alternative embodiments may include additionallevels (L3, L4, etc.) of private or shared, on-chip or off-chip, in-lineor lookaside cache, which may be fully inclusive, partially inclusive,or non-inclusive of the contents the upper levels of cache.

SOC 102 further includes one or more integrated I/O (input/output)interfaces 150 supporting I/O communication via one or more externalcommunication links 152 with one or more I/O controllers, such as PCIhost bridges (PHBs), InfiniBand controllers, FibreChannel controllers,etc. Those skilled in the art will appreciate that data processingsystem 100 can include many additional or alternative components, whichare not necessary for an understanding of the invention set forth hereinare accordingly not illustrated in FIG. 1 or discussed further herein.

As will be appreciated, with current technologies the memory accesslatency experienced by a processor core 104 for requests serviced by asystem memory 140 can be significantly greater than that for memoryaccess requests serviced by an L2 cache 120. For example, in oneembodiment, L1 cache 110 can be accessed in a single processor coreclock cycle, a local L2 cache 120 can be accessed in approximately 3-5processor core clock cycles, and off-chip system memories 140 can beaccessed in 300-400 processor core clock cycles. In order to reduce theeffective memory access latency of read memory access operationsserviced by a system memory 140, an SOC 102 can selectively enable dataerror speculation for selected read memory access operations initiatedon system fabric 130. In response to a read memory access operation forwhich data error speculation is enabled, at least some of the datarequested by the read memory access operation can be returned to therequesting processor core 104 by the memory subsystem and processed bythe processor core 104 in advance of an indication of whether therequested data contained an error. Thus, error detection processingwithin the memory hierarchy can be “posted” (i.e., deferred) to enabledata transmission to precede an error determination. One implementationof data error speculation by a processor core 104 and the associatedposted error detection processing in the memory subsystem is describedbelow.

Referring now to FIG. 2, there is depicted a more detailed view of oneof the memory channel interfaces (MCIs) 132 of FIG. 1 in accordance withone embodiment. In the depicted embodiment, MCI 132 is coupled to systemfabric 130 via downstream (i.e., toward memories 140) request and datainterfaces 202 and 204 and upstream (i.e., toward system fabric 130)control and data interfaces 206 and 208. Request interface 202 receivesfrom system fabric 130 read and write memory access requests of variousoperations, where each memory access request includes, for example, avalid field 201 indicating whether the memory access request of theoperation is valid, a transaction type (TType) field 203 indicating thetype of the memory access request (e.g., a read or a write), and arequest address field 205 specifying the target address of the memoryaccess request. In one embodiment, the TType field 203 for read memoryaccess requests includes a posted error detection processing enable(PEDPE) bit 207 that is set (e.g., to ‘1’) by the SOC 102 initiating theread memory access request to indicate that posted error detectionprocessing is enabled for the read memory access request and that isreset (e.g., to ‘0’) by the SOC 102 to indicate that posted errordetection processing is inhibited. Data interface 204 receives fromsystem fabric 130 data to be written to the associated collection ofsystem memories 140 by write memory access requests.

MCI 132 includes control logic 200 that controls access to theassociated collection of system memories 140 in response to memoryaccess operations received view system fabric 130. In response toreceipt of the request of a memory access operation on system fabric130, control logic 200 determines by reference to valid field 201 andrequest address field 205 of the memory access request whether or notthe memory access request is valid and specifies a target address withinthe collection of system memories 140 controlled by that MCI 132. Ifnot, the memory access request is dropped. If, however, control logic200 validates and qualifies the memory access request as directed to oneof its associated system memories 140, control logic 200 transmits thememory access request (including for read memory access requests, PEDPEbit 207) and associated write data, if any, to frame formatter 210.

In at least some embodiments, control logic 200 includes an optionalposted error processing predictor (PEPP) 202 that, based on historicaldata for memory access requests targeting the associated collection ofsystem memories 140, predicts posted error detection processing islikely to succeed without detection of an error in the target memoryblock. In response to PEPP 202 determining that posted error detectionprocessing is not likely to succeed for a particular read memory accessrequest without detection of an error in the target memory block,control logic 200 resets PEPDE bit 207 for that particular read memoryaccess request. Further details regarding an embodiment of PEPP 202 andits operation and provided below with reference to FIGS. 5-6.

Frame formatter 210, in response to receipt of the memory access requestand write data, if any, formats the memory access request and writedata, if any, into one or more frames and transmits those frame(s) to amemory buffer 134 coupled to SOC 102 via a downstream memory bufferinterface 212. As will be appreciated, the frame format may vary widelybetween implementations based on a variety of factors including the pincounts available to implement downstream memory buffer interface 212 andthe corresponding upstream memory buffer interface 214.

As further shown in FIG. 2, MCI 132 additionally includes a framedecoder 220 that receives frames from a memory buffer 134 coupled to SOC102 via upstream memory buffer interface 214. Frame decoder 220 decodessuch frames to extract data being transmitted upstream and associatedcontrol information. Cyclic Redundancy Check (CRC) detector 222additionally performs a CRC (e.g., parity check or other CRC processing)on the frame in parallel with the processing performed by frame decoder220 to verify that the frame has not been corrupted in transmission frommemory buffer 134. In response to CRC detector 222 signaling that theframe has not been corrupted, frame decoder 220 forwards controlinformation extracted from the frame, such as a data tag identifying theoperation to which the data belongs, a data error indicator indicatingwhether or not the data contains an error, and (as described furtherbelow) an posted status indicator providing an indication regardingwhether the data is part of a data transfer subject to posted errordetection processing. Control logic 200 receives the control informationextracted by frame decoder 220 and forwards that control information tosystem fabric 130 via upstream control interface 206. MCI 132additionally includes two data paths for upstream data extracted byframe decoder 220: (1) a fast path 226 selected for critical words oftarget memory blocks, data transfers subject to posted error detectionprocessing, and other high priority data transfers, and (2) a buffereddata path including data buffers 224 for buffering low priority data. Amultiplexer 228 applies a selected arbitration policy to select datafrom one of the two data paths for transmission on system fabric 130,but to minimize access latency, preferentially selects data from fastpath 226 without starving out the buffered data path.

With reference now to FIG. 3, there is illustrated a more detailed viewof a memory buffer 134 of FIG. 1 in accordance with one embodiment. Inthe illustrated embodiment, memory buffer 134 includes a frame decoder300 that receives frames from MCI 132 via downstream memory bufferinterface 212. Frame decoder 300 decodes the frames and determines towhich of multiple attached system memories 140 each memory accessrequest is directed. Thus, in the depicted example in which the attachedsystem memories 140 include at least system memories 140 a and 140 b,frame decoder 300 determines whether memory access requests specify atarget address assigned to system memory 140 a or to system memory 140b, and accordingly forwards the memory access requests to controller 302a or controller 302 b for servicing. Controllers 302 a and 302 b servicememory access request received from controllers 302 a, 302 b bydirecting appropriate read or write accesses to the associated one ofsystem memories 140 a and 140 b.

Memory buffer 134 additionally includes a respective read channel 310 a,310 b for each attached system memory 140 a, 140 b. Each of readchannels 310 a, 310 b includes an ECC check circuit 312 a, 312 b thatperforms error detection and error correction processing, preferably onall data read from the associated one of system memories 140 a, 140 b.Each of read channels 310 a, 310 b further includes a fast path 316 a,316 b by which selected data granules read from the associated one ofsystem memories 140 a, 140 b are also permitted to bypass ECC checkcircuit 312 a, 312 b in order to decrease memory access latency. Forexample, in one embodiment in which a memory block is communicated fromsystem memories 140 to processor cores 104 in four granules, only thefirst three of the four data granules are permitted to bypass the ECCcheck circuit 312, while all four granules are also always routedthrough ECC check circuit 312 so that a data error indicator indicatingwhether or not the memory block contains an error can conveniently beforwarded upstream with the last granule. The first three of the fourdata granules that are also routed through the ECC check circuit 312 arethen discarded since they were already forwarded via the fast path 316a, 316 b. To permit data transmitted via fast path 316 a, 316 b to beforwarded with minimal latency, each of read channels 310 a, 310 badditionally includes data buffers 314 a, 314 b for buffering lowerpriority data output by ECC check circuit 312 a, 312 b as needed. Amultiplexer 318 a, 318 b within each read channel 310 a, 310 b applies aselected arbitration policy to select data from data buffers 314 a, 314b and fast path 316 a, 316 b for forwarding. The arbitration policypreferentially selects data from fast path 316 a, 316 b without starvingout the buffered data path.

In a preferred embodiment, each of read channels 310 a, 310 b routesdata associated with read memory access requests for which posted errordetection processing is inhibited only by the buffered data pathincluding ECC check circuit 312 and data buffers 314, and, if schedulingpermits, routes data associated with read memory access requests forwhich posted error detection processing is enabled via both the buffereddata path and fast path 316. Thus, in contrast to prior art systems,forwarding of a target memory block by read channels 310 a, 310 b is notdependent on a determination that the entire target memory block iserror-free. Instead, for a read memory access request for which postederror detection processing is enabled by PEDPE bit 207, a read channel310 forwards at least one data granule of the target memory blockreceived from system memory 140 (e.g., the data granule containing thecritical word) via fast path 316 as soon as the data granule isavailable. After all data granules of the target memory block have beenreceived from system memory 140, the read channel 310 performs postederror detection processing on all of the data granules utilizing its ECCcheck circuit 312 to determine whether the target memory block containsan error, and if possible (e.g., if the error is a single symbol errorand posted data error correction was not performed on the target memoryblock), to correct the error.

As discussed further below with reference to FIG. 7, in addition to thegranules of the target memory block, read channel 310 preferablyforwards a posted status indicator with each data granule of the targetmemory block that indicates whether or not the associated data granulewas subject to posted error detection processing. Read channel 310 alsopreferably forwards, for example, with at least the final granule of thetarget memory block (and possibly with each data granule), a data errorindicator that indicates whether or not an error has been detected forthe target memory block. The data error indicator can additionally beset in response to detection of an error (e.g., CRC error) occurring asthe data flows upstream.

The read channels 310 a, 310 b of memory buffer 134 are all coupled toinputs of a multiplexer 320 controlled by a channel arbiter 322. Channelarbiter 322 applies a desired arbitration policy (e.g., modified roundrobin) to generally promote fairness between read channels 310 a, 310 b,while giving preference to data transfers with posted error detectionprocessing. Each data transfer selected by channel arbiter 322 isreceived by frame formatter 330, which formats the data transfer intoone or more frames and transmits those frame(s) to the MCI 132 coupledto memory buffer 134 via an upstream memory buffer interface 214 after acheck value is appended by CRC generator 332.

Referring now to FIG. 4, there is depicted a high level logicalflowchart of an exemplary process by which a SOC 102 determines whetherposted error detection processing is to be enabled for a read memoryaccess operation in accordance with one embodiment. The process beginsat block 400 and then proceeds to block 402, which illustrates L2controller 124 awaiting receipt of a memory access request from theassociated processor core 104. As indicated by blocks 404 and 406, ifthe memory access request is a write memory access request, L2controller 124 performs other, possibly conventional processing.Thereafter, the process terminates at block 430.

Returning to block 404, in response to receipt by L2 controller 124 of aread memory access request from the associated processor core 104, theprocess proceeds from block 404 to block 408, which illustrates L2controller 124 determining whether or not L2 cache 120 can service theread memory access request without initiating an operation on systemfabric 130, for example, by reading directory 126 to determine acoherence state associated with the target address of the read memoryaccess request. In response to a determination that L2 cache 120 canservice the read memory access request without initiating acorresponding operation on system fabric 130, L2 controller 124 directsL2 cache 120 to supply the target memory block of the read memory accessrequest to the processor core 104 from L2 array 122 (block 410).Thereafter, the process depicted in FIG. 4 ends at block 430.

Referring again to block 408, if L2 controller 124 determines that L2cache 120 cannot service the read memory access request withoutinitiating an operation on system fabric 130, L2 controller 124 furtherdetermines at block 420 whether or not the requesting processor core 104indicated that data error speculation is disabled, for example, for thisparticular read memory access request, for this thread of the processorcore 104, or for all threads of execution of the processor core 104. Inone embodiment, the determination illustrated at block 420 can be madeby reference to a data error speculation field within the read memoryaccess request. In response to determining at block 420 that data errorspeculation is disabled, L2 controller 124 initiates a read memoryaccess operation on system fabric 130 with PEDPE bit 207 reset toinhibit posted data error processing for the target memory block (block422). Thereafter, the process shown in FIG. 4 ends at block 430.

Returning to block 420, if L2 controller 124 determines that data errorspeculation is not disabled, L2 controller 124 also determines at block424 whether the posted data error detection is permitted for this readmemory access request based on the transaction type (TType) of the readmemory access request. Thus, L2 controller 124 implements a policy bywhich posted data error detection is permitted for certain types of readmemory access requests (e.g., data load, atomic load-and-reserve, anddata prefetch requests), but is not for permitted for other read memoryaccess requests (e.g., instruction load, address translation load andread-with-intent-to-modify requests). In other words, despite the factthat data error speculation is not disabled for a read memory accessrequest by the requesting processor core 104, L2 controller 124 maynevertheless inhibit posted error detection processing for selected readmemory access requests, as illustrated in FIG. 4 by the processproceeding from block 424 to previously described block 422 in responseto a negative determination at block 424. However, in response to anaffirmative determination at block 424, L2 controller 124 initiates aread memory access operation on system fabric 130 with PEDPE bit 207 setto enable posted error detection processing for the target memory block.It should be noted that the read memory access operation initiated atblock 426 may or may not be serviced with posted error detectionprocessing despite the setting of PEDPE bit 207 by L2 controller 124. Ina majority of cases, the read memory access operation will simply beserviced by another L2 cache 120 that snoops the read memory accessoperation and supplies the target memory block. Further, in other casesin which the read memory access operation is serviced by memorycontroller 132, a memory controller 132 or memory buffer 134 may, inview or scheduling considerations or PEPP 202 indicating a likelihood ofdetection of a data error in the target memory block, elect not toperform posted error detection processing, but to instead perform errordetection processing prior to sourcing any granule of the target memoryblock. Following block 426, the process shown in FIG. 4 ends at block430.

Upon return of data granules of the target memory block from the memorysubsystem in response to the read memory access operation on systemfabric 130, L2 controller 124 preferably places the data granules of thetarget memory block in L2 array 122. However, L2 controller 124 marksthe data granules as invalid in directory 126 unless and until L2controller 124 receives confirmation from the memory subsystem that theentire memory block is free of data errors.

With reference now to FIG. 5, there is illustrated a more detailed viewof optional PEPP 202 in control logic 200 of MCI 132 in accordance withone embodiment.

In large scale commercial embodiments of data processing system 100employing current memory technology, system memories 140 are typicallyimplemented in bulk DRAM due in large part to the low cost of DRAMrelative to competing memory technologies. In such embodiments, each ofsystem memories 140 preferably includes multiple ranks of DRAM, witheach rank comprising multiple DRAM chips. Real addresses are assigned tothe DRAM chips such that memory blocks are each “striped” across a rank,with each DRAM chip in a given rank sourcing a portion of an accessedmemory block.

Assuming this construction of system memories 140, PEPP 202 includes aplurality of entries 500 a-500 n, each corresponding to a rank of systemmemory 140 controlled by MCI 132. Each entry 500 includes a chip disablefield 502, which is set (e.g., by system firmware) if any of the DRAMchips in the corresponding rank fails (e.g., experiences over athreshold number of uncorrectable errors (UEs)). Each of entries 500a-500 n additionally includes a respective one of correctable error (CE)counters 504 a-504 n. In at least one embodiment, PEPP 202 incrementsthe relevant CE counter 504 each time a data error is reported tocontrol logic 200 by frame decoder 220, and periodically resets all CEcounters 504 a-504 n at regular intervals. As indicated below withreference to FIG. 6, PEPP 202 preferably causes control logic 200 toinhibit data error detection speculation for any rank of system memory140 for which the associated one of chip disable fields 502 a-502 n isset or for which the associated one of CE counters 504 a-504 n has avalue satisfying (e.g., exceeding) a CE threshold.

Referring now to FIG. 6, there is depicted a high level logicalflowchart of an exemplary method by which PEPP 202 determines whether toinhibit posted error detection processing for a read memory accessrequest in accordance with one embodiment. The illustrated processbegins at block 600 and then proceeds to block 602, which illustratesPEPP 202 awaiting receipt by control logic 200 of a read memory accessrequest from system fabric 130. In response to receipt by control logic200 of read memory access request from system fabric 130, PEPP 202determines whether or not PEDPE bit 207 indicates that posted data errordetection is enabled for the read memory access request. If not, theprocess shown in FIG. 6 ends at block 614. If, however, PEPP 202determines at block 604 that PEDPE bit 207 of the read memory accessrequest indicates that posted error detection processing is enabled forthe read memory access request, the process proceeds to block 606.

Block 606 depicts PEPP 202 mapping the target address specified byrequest address field 205 to a particular memory rank among the memoryranks in the collection of system memories 140 controlled by MCI 132.The mapping depicted at block 606 can be performed, for example,utilizing an address transformation function (e.g., a modulo function)or a base address register facility. Based on the determined rank ofsystem memory 140, PEPP 202 determines at blocks 608 and 610 whether theassociated one of chip disable fields 502 a-502 n is set or whether theassociated one of CE counters 504 a-504 n has a value satisfying (e.g.,exceeding) a CE threshold. In response to negative determinations atblocks 608 and 610, the processing performed by PEPP 202 ends at block614. However, in response to PEPP 202 determining that the associatedone of chip disable fields 502 a-502 n is set or that the associated oneof CE counters 504 a-504 n has a value satisfying a CE threshold, PEPP202 modifies the read memory access request (e.g., by resetting PEDPEbit 207) to inhibit posted error detection processing for the memoryaccess request (block 612). Thereafter, the process depicted in FIG. 6ends at block 614.

With reference now to FIG. 7, a timing diagram illustrating thecommunication of a memory block and associated control signals from amemory buffer 134 to a processor core 104 in response to a read memoryaccess request is given. In the depicted embodiment, memory buffer 134communicates the memory block, which may have a size, for example, of128 bytes, in four granules (or beats) 700, 702, 704 and 706, forexample, of 32 bytes each. The first granule 700, which preferablyincludes the critical word (e.g., 8 bytes) originally requested by theload-type instruction of the processor core 104, is transmitted bymemory buffer 134 in advance of the posted error detection processingperformed by the ECC check circuit 312. Depending on the interface andmemory technologies employed and scheduling considerations within thememory subsystem and at the system fabric 130, first granule 700 can bereceived by the requesting processor core 104 significantly earlier thanlast granule 706, with the intervening interval amounting to 10% or moreof the overall memory access latency of the target memory block (e.g.,40 processor core clock cycles out of an overall memory access latencyof 300 processor core clock cycles). As a consequence, the requestingprocessor core 104 is permitted to speculatively execute one or moreinstructions that are dependent upon the memory block prior to receiptby the processor core 104 of last data granule 706, and as discussedbelow, even speculatively finish, prior to receipt by the processor core104 of the last data granule 706, the load-type instruction thatrequested the memory block and zero or more of the instructionsdependent on the target memory block. (Note that FIG. 7 illustrates aspecific embodiment in which the time interval between granules 704 and706 is significantly longer that the time intervals between granules702-704 because only the last granule 706 is delayed by ECC and CRCchecks.)

In the depicted embodiment, the data transfer of each of granules700-706 includes control information including a posted status indicator710 and a data error indicator 712. Posted status indicator 710, whichcan be implemented as a single bit within the data transfer, is assertedto indicate that the associated one of granules 700-706 belongs to amemory block subject to posted data error processing. Data errorindicator 712, which can also be implemented as a single bit within thedata transfer, is asserted to indicate detection of an error in thememory block. In one embodiment, the data error indicator 712 for eachof data granules 700, 702 and 704 other than last data granule 706 isdeasserted, and the data error indicator 712 of the last data granule706 is utilized to indicate whether or not a data error was detected inthe target memory block by the relevant ECC check circuit 312 or CRCdetector 222. In response to data error indicator 712 being reset toindicate the absence of a data error, the processor core 104 commits theexecution results of the load-type instruction that requested the memoryblock and the speculatively executed dependent instructions to thearchitected state of the processor core 104. If, however, data errorindicator 712 is set to indicate detection of a data error in the memoryblock, processor core 104 flushes the load-type instruction and thespeculatively executed dependent instructions and any associatedexecution results and reexecutes the instructions. The processor core104 preferably sends the read memory access request generated byreexecution of the load-type instruction to L2 cache 120 with anindication that data error speculation is disabled (see, e.g., block 420of FIG. 4).

In the foregoing discussion, techniques have been described for reducingeffective memory access latency of processor cores 104 to read datasourced from system memories 140 by applying posted error detectionprocessing. As now described with reference to FIGS. 8-13, the benefitsof posted error detection processing can be expanded by permitting dataerror speculation in processor cores 140, and further, by permittingprocessor cores 140 to speculatively finish instruction execution. Itshould be appreciated, however, that the techniques for speculativelyfinishing instruction execution can be employed independently of theposted error detection processing described herein.

Referring now to FIG. 8, there is depicted a more detailed view of aportion of a processor core 104 from FIG. 1 in accordance with oneembodiment. As previously shown in FIG. 1, ISU 106 includes a GCT 105,and LSU 108, in addition to a multi-stage execution pipeline 800,includes an L1 cache 110 and LMQ 112. In the depicted embodiment, GCT105 of ISU 106 includes completion logic and a plurality of tableentries 802 each tracking a respective one of multiple instructiongroups executed by the processor core 104 until the instructions withinthat instruction group are completed (also referred to as “retired”) bycommitting the results of execution to the architected state (e.g.,architected registers and state machines) of the processor core 104.

In the depicted embodiment, each table entry 802 includes an LMQ vector804 for tracking data error speculation for instructions within eachinstruction group and an additional status section 808 for tracking theinstructions IDs of the instruction group and the status of otherconditions (e.g., branch speculation) on which completion of theinstruction group depends. Each LMQ vector 804 comprises multiple LMQbits 806 each corresponding to a respective one of the N (e.g., 32)entries 820 in LMQ 112. Thus, the first bit in LMQ vector 804corresponds to the LMQ entry 820 assigned a LMQ tag of “1”, the secondbit in LMQ vector 804 corresponds to the LMQ entry 820 assigned a LMQtag of “2”, etc. An LMQ entry 820 is allocated to a load-typeinstruction in response to a miss of the load operation indicated by theload-type instruction in L1 cache 110 and is deallocated in response toreturn of the target memory block to LMQ 112.

GCT 105 is coupled to LMQ 112 by a deallocation bus 822 by which GCT 105receives deallocation reports from LMQ 112. In addition, GCT 105 iscoupled to execution pipeline 800 of LSU 108 by a finish bus 824 (and tothe execution pipelines of other execution units of processor core 104by other unillustrated finish buses) by which GCT 105 receives finishreports identifying instructions for which execution has finished. Asdiscussed below, finish reports of at least load-type instructionsexecuted by LSU 108 can be speculative in that a finish report can besent prior to return of the complete target memory block of a load-typeinstruction to LSU 108.

Still referring to FIG. 8, LSU 108 is coupled to ISU 106 by a dispatchbus 826 by which execution pipeline 800 of LSU 108 receives memoryaccess instructions for execution. In the depicted embodiment, executionpipeline 800 includes a plurality of stages of instruction processingcircuitry including, for example, a decode stage 830, an addresscalculation stage 832 and a finish stage 834. In this example, finishstage 834 is a final stage of execution of load-type and store-typeinstructions within LSU 108. As described below, unlike conventionaldesigns in which a load-type instruction stalls at finish stage 834 inresponse to a miss in L1 cache 110 until the target memory block of theload-type instruction is returned to LSU 108, GCT 105 enables LSU 108 tospeculatively finish load-type instructions and remove them from finishstage 834 prior to return of the complete target memory block, freeingthe resources of finish stage 834 for use by other instructions in thesame and/or other thread(s).

With reference now to FIG. 9, there is illustrated a high level logicalflowchart of an exemplary process by which LMQ 112 handles the return ofa target memory block of a read memory access operation in accordancewith one embodiment. The process begins at block 900 and then proceedsto block 902, which depicts LMQ 112 awaiting return of the first beat(e.g., first granule 700 of FIG. 7) of the target memory block of a readmemory access operation initiated on system fabric 130 in response toexecution of a load-type instruction allocated an LMQ entry 820 uponmissing in L1 cache 110. In response to receipt of the first granule ofthe target memory block of the read memory access operation from L2cache 120, LMQ 112 determines at block 904 whether or not the targetmemory block is being sourced from a system memory 140 or from an L2cache 120. The determination illustrated at block 904 can be made, forexample, by reference to a memory source bit appended to the datagranule by the local L2 cache 120 based on information gathered from theread memory access operation on system fabric 130. In response to adetermination at block 904 that the memory block is being sourced fromsystem memory 140, the process passes to block 908, which is describedbelow. If, however, LMQ 112 determines at block 904 that the memoryblock is being sourced from a system memory 140, the process proceedsfrom block 904 to block 906.

Block 906 illustrates LMQ 112 determining which LMQ entry 820 isallocated to the load-type instruction that requested the target memoryblock and setting a memory source bit within that LMQ entry 820 toindicate that the target memory block is being sourced from systemmemory 140. The process proceeds from block 906 to block 908, whichdepicts LMQ 112 forwarding the critical data word (e.g., 8 bytes) of thefirst data granule of the memory block to finish stage 834 of executionpipeline 800 of LSU 108. In addition, as shown at block 910, LMQ 112installs the first data granule and each succeeding data granule of thetarget memory block within L1 cache 110, enabling accesses to L1 cache110 invoked by instructions dependent on the target memory block tobegin execution and hit in L1 cache 110. It should be noted with respectto block 908 and 910 that in cases in which the memory block is sourcedfrom system memory 140 with posted error detection processing, thecritical data word supplied to finish stage 834 and the granules of thetarget memory block installed in L1 cache 110 are speculative.

As indicated at block 920, once all beats of the target memory block arereceived, LMQ 112 then determines at blocks 922-950 whether or not theLMQ entry 820 allocated to the load-type instruction that requested thetarget memory block can be deallocated and what type of deallocationreport is to be sent to GCT 105. Specifically, LMQ 112 determines atblock 922 whether or not the target memory block was sourced from asystem memory 140. If not, the target memory block that was received isnon-speculative, and LMQ 112 accordingly transmits a deallocation reportincluding the LMQ tag of the relevant LMQ entry 820 and an asserted“data good” indication to GCT 105 via deallocation bus 822 (block 940).LMQ 112 additionally deallocates the LMQ entry 820, freeing it forallocation to another load-type instruction (block 942). Thereafter, theprocess illustrated in FIG. 9 terminates at block 950.

Returning to block 922, if LMQ 112 determines that the target memoryblock was sourced from one of system memories 140, LMQ 112 furtherdetermines at block 924 whether or not the target memory block containsa data error, for example, by reference to the data error indicator 712transmitted with the last data granule (e.g., data granule 706 of FIG.7) of the target memory block. If not, the process passes to blocks 940,942 and 950, as described above. However, in response to a determinationat block 924 that the target memory block contains a data error, LMQ 112invalidates all granules of the target memory block in L1 cache 110(block 930). In addition, at block 932, LMQ 112 transmits a reportincluding the LMQ tag of the relevant LMQ entry 820 and a deasserted“data good” indication (i.e., a data error indication) to GCT 105 viadeallocation bus 822 (block 932). In one embodiment, LMQ 112 does notdeallocate the LMQ entry 820, however, but instead retains theallocation of the LMQ entry 820 to facilitate reissuance of the readmemory access operation. Following block 932, the process illustrated inFIG. 9 terminates at block 950.

Referring now to FIG. 10, there is depicted a high level logicalflowchart of an exemplary process by which finish stage 834 of the LSU108 reports finish of a load-type instruction to GCT 105 in accordancewith one embodiment. The process begins at block 1000 and then proceedsto block 1002, which illustrates finish stage 834 of LSU 108 awaitingreceipt of the critical data word of the target memory block requestedby a load-type instruction. In response to receipt of the critical dataword requested by the load-type instruction at finish stage 834, finishstage 834 determines at block 1004 whether or not the critical data wordwas sourced by one of system memories 140, for example, by reference toa memory source bit forwarded by LMQ 112 with the critical data word. Ifnot, the process proceeds to block 1010, which is described below. Inresponse to a determination that the critical data word was sourced fromone of system memories 140 (and therefore possibly contains a dataerror), finish stage 834 sends a finish report for the load-typeinstruction to GCT that identifies the load-type instruction by itsinstruction ID and that identifies the LMQ entry 820 allocated to theload-type instruction by its LMQ tag. As described further below, theLMQ tag is utilized to initiate tracking by the GCT 105 of the load-typeinstruction and all dependent instructions for detection of a dataerror. Thereafter, LSU 108 removes the load-type instruction frominstruction pipeline 800 such that instruction pipeline 800 retains noinformation regarding the load-type instruction (block 1008). Followingblock 1008, the process shown in FIG. 10 ends at block 1020.

Referring now to block 1010, for load-type instructions for which thecritical data word is not sourced from one of system memories 140,finish stage 834 determines whether the load-type instruction isdependent on a target memory block that is still speculative (i.e., wassourced with posted error detection processing), for example, bydetermining that the load-type instruction received its critical dataword from L1 cache 110 and the LMQ entry 820 allocated to the load-typeinstruction has its memory source bit set to indicate that the targetmemory block was sourced to L1 cache 110 by one of system memories 140.In response to an affirmative determination at block 1010, the processproceeds to blocks 1006 and 1008, which have been described. If,however, finish stage 834 makes a negative determination at block 1010,the load-type instruction is not subject to data error speculation, andfinish stage 834 accordingly sends a finish report to GCT 105 withoutspecifying an LMQ tag. Following block 1012, the process shown in FIG.10 ends at block 1020.

It should be understood that the instruction finish process given inFIG. 10 permits an instruction (in this case a load-type instruction)that may depend on one or more high latency conditions (e.g., in thisexample, the return of data from one of system memories 140) tracked bya data structure (e.g., LMQ 112) to be speculatively finished prior toresolution of the condition(s) on which the instruction depends. Thisspeculative finish is enabled by passing to GCT 105 an index into thedata structure (e.g., the LMQ tag) to permit GCT 105 to track resolutionof the high latency condition(s).

With reference now to FIG. 11, there is illustrated a high level logicalflowchart of an exemplary process by which GCT 105 tracks finishedload-type instructions (including speculatively finished load-typeinstructions) in accordance with one embodiment. The process begins atblock 1100 and then proceeds to block 1102, which depicts GCT 105awaiting receipt of a finish report from finish stage 834 of LSU 108 viafinish bus 824. The finish report includes the instruction ID of theload-type instruction and, as described with reference to FIG. 10, willinclude a valid LMQ tag, if speculatively finished. In response toreceipt of the finish report, GCT 105 marks the instruction as finishedin the status section 808 of the appropriate GCT entry 802 (block 1104).In addition, GCT 105 determines at block 1106 whether or not the finishreport was speculative, which in the described embodiment, comprisesdetermining if the finish report received from finish stage 834 includesan LMQ tag identifying an LMQ entry 820 tracking an as yet incompletelysatisfied read memory access operation. In response to a negativedetermination at block 1106, the process ends at block 1110. If,however, GCT 105 determines at block 1106 that the finish report wasspeculative, GCT 105 sets the LMQ bit 806 identified by the LMQ tag inthe LMQ vector 804 of the GCT table entry 802 tracking the speculativelyfinished load-type instruction. Thus, GCT 105 assumes tracking of thespeculative status of the load-type instruction to enable LSU 108 tofree the resources of instruction pipeline 800 allocated to theload-type instruction. Following block 1108, the process shown in FIG.11 ends at block 1110.

Referring now to FIG. 12, there is depicted a high level logicalflowchart of an exemplary process by which GCT 105 handles LMQdeallocation reports in accordance with one embodiment. The processbegins at block 1200 and then proceeds to block 1202, which illustratesGCT 105 awaiting receipt from LMQ 112 of a deallocation report viadeallocation bus 822. As noted above, the deallocation report preferablyincludes the LMQ tag of the relevant LMQ entry 820 and a “data good”indication indicating whether or not the target memory block contains adata error. In response to receipt of a deallocation report, GCT 105determines at block 1204 whether or not the deallocation reportindicates that the target memory block of the load-type instructioncontains a data error. If not, GCT 105 clears the column of LMQ bits 806corresponding to the LMQ tag specified in the deallocation report, thusremoving a condition of completion of any load-type instructionsdependent on the return of non-speculative data. The process of FIG. 12then ends at block 1210. However, in response to a determination atblock 1204 that the “data good” indication of the deallocation reportindicates that the target memory block contains a data error (i.e., isdeasserted), GCT 105 marks each table entry 802 for which the LMQ bit806 corresponding to the LMQ tag contained in the deallocation report isset for flushing at completion. Thus, GCT 105 ensures that load-typeinstructions for which posted data error processing is performed areflushed if a data error is detected rather than committed to architectedstate of the processor core 104. Following block 1208 the process ofFIG. 12 ends at block 1210.

With reference now to FIG. 13, there is depicted a high level logicalflowchart of an exemplary process by which GCT 105 completes instructiongroups in accordance with one embodiment. The process begins at block1300 and then proceeds to block 1302, which illustrates GCT 105selecting the oldest table entry 802 for processing. At block 1304, GCT105 determines whether or not the selected table entry 802 has anyremaining condition (including any set LMQ bit 806 in the LMQ vector804) that prevents the instruction group tracked by the selected tableentry 802 from being processed for completion. If so, the process endsat block 1320.

Returning to block 1304, in response to a determination that theselected table entry 802 does not have any remaining condition thatprevents the instruction group tracked by the selected table entry 802from being processed for completion, GCT 105 determines at block 1306whether the selected table entry 802 is marked to be flushed. If not,GCT 105 completes all the instructions within the instruction grouptracked by the selected table entry 802 by committing the executionresults of those instructions to the architected state of the processorcore 104. Thereafter, the process shown in FIG. 13 ends at block 1320.If, however, one or more instructions in the instruction group trackedby the selected table entry 802 are marked to be flushed, GCT 105flushes the instructions corresponding to the selected table entry 802and discards all related execution results. Thereafter, ISU 106 reissuesthe flushed instructions for execution with data error speculationdisabled (block 1314). The process of FIG. 13 then ends at block 1320.

It should be noted that the techniques disclosed with reference to FIGS.9-13 are not limited in application to the speculative finish ofload-type instructions for which posted error detection processing isperformed by the memory subsystem. Instead, the disclosed techniques aregenerally applicable to, and support the speculative finish of anyinstructions associated with long latency operations tracked by a datastructure.

Referring now to FIG. 14, there is depicted a block diagram of anexemplary design flow 1400 used for example, in semiconductor IC logicdesign, simulation, test, layout, and manufacture. Design flow 1400includes processes, machines and/or mechanisms for processing designstructures or devices to generate logically or otherwise functionallyequivalent representations of the design structures and/or devicesdescribed above. The design structures processed and/or generated bydesign flow 1400 may be encoded on machine-readable transmission orstorage media to include data and/or instructions that when executed orotherwise processed on a data processing system generate a logically,structurally, mechanically, or otherwise functionally equivalentrepresentation of hardware components, circuits, devices, or systems.Machines include, but are not limited to, any machine used in an ICdesign process, such as designing, manufacturing, or simulating acircuit, component, device, or system. For example, machines mayinclude: lithography machines, machines and/or equipment for generatingmasks (e.g. e-beam writers), computers or equipment for simulatingdesign structures, any apparatus used in the manufacturing or testprocess, or any machines for programming functionally equivalentrepresentations of the design structures into any medium (e.g. a machinefor programming a programmable gate array).

Design flow 1400 may vary depending on the type of representation beingdesigned. For example, a design flow 1400 for building an applicationspecific IC (ASIC) may differ from a design flow 1400 for designing astandard component or from a design flow 1400 for instantiating thedesign into a programmable array, for example a programmable gate array(PGA) or a field programmable gate array (FPGA) offered by Altera® Inc.or Xilinx® Inc.

FIG. 14 illustrates multiple such design structures including an inputdesign structure 1420 that is preferably processed by a design process1410. Design structure 1420 may be a logical simulation design structuregenerated and processed by design process 1410 to produce a logicallyequivalent functional representation of a hardware device. Designstructure 1420 may also or alternatively comprise data and/or programinstructions that when processed by design process 1410, generate afunctional representation of the physical structure of a hardwaredevice. Whether representing functional and/or structural designfeatures, design structure 1420 may be generated using electroniccomputer-aided design (ECAD) such as implemented by a coredeveloper/designer. When encoded on a machine-readable datatransmission, gate array, or storage medium, design structure 1420 maybe accessed and processed by one or more hardware and/or softwaremodules within design process 1410 to simulate or otherwise functionallyrepresent an electronic component, circuit, electronic or logic module,apparatus, device, or system such as those shown above. As such, designstructure 1420 may comprise files or other data structures includinghuman and/or machine-readable source code, compiled structures, andcomputer-executable code structures that when processed by a design orsimulation data processing system, functionally simulate or otherwiserepresent circuits or other levels of hardware logic design. Such datastructures may include hardware-description language (HDL) designentities or other data structures conforming to and/or compatible withlower-level HDL design languages such as Verilog and VHDL, and/or higherlevel design languages such as C or C++.

Design process 1410 preferably employs and incorporates hardware and/orsoftware modules for synthesizing, translating, or otherwise processinga design/simulation functional equivalent of the components, circuits,devices, or logic structures disclosed above to generate a netlist 1480which may contain design structures such as design structure 1420.Netlist 1480 may comprise, for example, compiled or otherwise processeddata structures representing a list of wires, discrete components, logicgates, control circuits, I/O devices, models, etc. that describes theconnections to other elements and circuits in an integrated circuitdesign. Netlist 1480 may be synthesized using an iterative process inwhich netlist 1480 is resynthesized one or more times depending ondesign specifications and parameters for the device. As with otherdesign structure types described herein, netlist 1480 may be recorded ona machine-readable storage medium or programmed into a programmable gatearray. The medium may be a non-volatile storage medium such as amagnetic or optical disk drive, a programmable gate array, a compactflash, or other flash memory. Additionally, or in the alternative, themedium may be a system or cache memory, or buffer space.

Design process 1410 may include hardware and software modules forprocessing a variety of input data structure types including netlist1480. Such data structure types may reside, for example, within libraryelements 1430 and include a set of commonly used elements, circuits, anddevices, including models, layouts, and symbolic representations, for agiven manufacturing technology (e.g., different technology nodes, 32 nm,45 nm, 90 nm, etc.). The data structure types may further include designspecifications 1440, characterization data 1450, verification data 1460,design rules 1470, and test data files 1485 which may include input testpatterns, output test results, and other testing information. Designprocess 1410 may further include, for example, standard mechanicaldesign processes such as stress analysis, thermal analysis, mechanicalevent simulation, process simulation for operations such as casting,molding, and die press forming, etc. One of ordinary skill in the art ofmechanical design can appreciate the extent of possible mechanicaldesign tools and applications used in design process 1410 withoutdeviating from the scope and spirit of the invention. Design process1410 may also include modules for performing standard circuit designprocesses such as timing analysis, verification, design rule checking,place and route operations, etc.

Design process 1410 employs and incorporates logic and physical designtools such as HDL compilers and simulation model build tools to processdesign structure 1420 together with some or all of the depictedsupporting data structures along with any additional mechanical designor data (if applicable), to generate a second design structure 1490.Design structure 1490 resides on a storage medium or programmable gatearray in a data format used for the exchange of data of mechanicaldevices and structures (e.g., information stored in a IGES, DXF,Parasolid XT, JT, DRG, or any other suitable format for storing orrendering such mechanical design structures). Similar to designstructure 1420, design structure 1490 preferably comprises one or morefiles, data structures, or other computer-encoded data or instructionsthat reside on transmission or data storage media and that whenprocessed by an ECAD system generate a logically or otherwisefunctionally equivalent form of one or more of the embodiments of theinvention disclosed herein. In one embodiment, design structure 1490 maycomprise a compiled, executable HDL simulation model that functionallysimulates the devices disclosed above.

Design structure 1490 may also employ a data format used for theexchange of layout data of integrated circuits and/or symbolic dataformat (e.g., information stored in a GDSII (GDS2), GLI, OASIS, mapfiles, or any other suitable format for storing such design datastructures). Design structure 1490 may comprise information such as, forexample, symbolic data, map files, test data files, design contentfiles, manufacturing data, layout parameters, wires, levels of metal,vias, shapes, data for routing through the manufacturing line, and anyother data required by a manufacturer or other designer/developer toproduce a device or structure as described above. Design structure 1490may then proceed to a stage 1495 where, for example, design structure1490: proceeds to tape-out, is released to manufacturing, is released toa mask house, is sent to another design house, is sent back to thecustomer, etc.

As has been described, in at least one embodiment of a data processingsystem, a selection is made, based at least on an access type of amemory access request, between at least a first timing and a secondtiming of data transmission with respect to completion of errordetection processing on a target memory block of the memory accessrequest. In response to receipt of the memory access request andselection of the first timing, data from the target memory block istransmitted to a requestor prior to completion of error detectionprocessing on the target memory block. In response to receipt of thememory access request and selection of the second timing, data from thetarget memory block is transmitted to the requestor after and inresponse to completion of error detection processing on the targetmemory block.

In at least one embodiment of a data processing system, a selection ismade, based at least on addresses of previously detected errors in amemory subsystem, between at least a first timing and a second timing ofdata transmission with respect to completion of error detectionprocessing on a target memory block of the memory access request. Inresponse to receipt of the memory access request and selection of thefirst timing, data from the target memory block is transmitted to arequestor prior to completion of error detection processing on thetarget memory block. In response to receipt of the memory access requestand selection of the second timing, data from the target memory block istransmitted to the requestor after and in response to completion oferror detection processing on the target memory block.

In a processor core, high latency operations are tracked in entries of adata structure associated with an execution unit of the processor core.In the execution unit, execution of an instruction dependent on a highlatency operation tracked by an entry of the data structure isspeculatively finished prior to completion of the high latencyoperation. Speculatively finishing the instruction includes reporting anidentifier of the entry to completion logic of the processor core andremoving the instruction from an execution pipeline of the executionunit. The completion logic records dependence of the instruction on thehigh latency operation and commits execution results of the instructionto an architected state of the processor only after successfulcompletion of the high latency operation.

While various embodiments have been particularly shown as described withreference to a preferred embodiment, it will be understood by thoseskilled in the art that various changes in form and detail may be madetherein without departing from the spirit and scope of the claims. Forexample, although aspects have been described with respect to a computersystem executing program code that directs the functions of the presentinvention, it should be understood that present invention mayalternatively be implemented as a program product including acomputer-readable storage device (e.g., volatile or non-volatile memory,optical or magnetic disk or other statutory manufacture) that storesprogram code that can be processed by a data processing system. Further,the term “coupled” as used herein is defined to encompass embodimentsemploying a direct electrical connection between coupled elements orblocks, as well as embodiments employing an indirect electricalconnection between coupled elements or blocks achieved using one or moreintervening elements or blocks. In addition, the term “exemplary” isdefined herein as meaning one example of a feature, not necessarily thebest or preferred example.

1-12. (canceled)
 13. A memory subsystem of a data processing system,comprising: an error detection circuit; and control logic coupled tosystem memory, wherein the control logic selects, based at least onaddresses of previously detected errors in a memory subsystem, betweenat least a first timing and a second timing of data transmission withrespect to completion of error detection processing by the errordetection circuit on a target memory block of a memory access request,wherein the control logic, responsive to receipt of the memory accessrequest and selection of the first timing, causes the memory subsystemto transmit data from the target memory block to a requestor prior tocompletion of error detection processing on the target memory block bythe error detection circuit, and wherein the control logic, responsiveto receipt of the memory access request and selection of the secondtiming, causes the memory subsystem to transmit data from the targetmemory block to the requestor after and in response to completion oferror detection processing on the target memory block by the errordetection circuit.
 14. The memory subsystem of claim 13, wherein controllogic further selects between the first timing and the second timingbased on an access type of a memory access request.
 15. The memorysubsystem of claim 14, wherein the control logic selects the firsttiming for a memory access request that is one of a set including ademand data load request generated by execution of a load-typeinstruction and a data prefetch request.
 16. The memory subsystem ofclaim 13, wherein: the memory system includes a plurality of entrieseach recording a respective error history for one of a plurality ofgroups of addresses; and the control logic selects the second timing inresponse to the error history for a particular one of the plurality ofgroup of addresses including a target address of the target memory blocksatisfying an error threshold.
 17. The memory subsystem of claim 13,wherein: the memory system includes a plurality of entries eachrecording a respective error history for one of a plurality of groups ofaddresses; and the control logic selects the second timing in responseto the error history for a particular one of the plurality of group ofaddresses including a target address of the target memory blockindicating an uncorrectable error.
 18. The memory subsystem of claim 13,wherein the memory subsystem sends, in association with the targetmemory block, a posted status indicator of a timing of data transmissionwith respect to completion of error detection processing on the targetmemory block.
 19. The memory subsystem of claim 13, wherein the memorysubsystem, in response to receipt of the memory access request andselection of the first timing, transmits a data error indicatorindicating whether or not the target memory block has a data error. 20.The memory subsystem of claim 19, wherein: the memory subsystemtransmits granules of the target memory block at intervals and transmitsthe data error indicator with one of the granules other than a firstgranule.
 21. A data processing system comprising: the memory subsystemof claim 19; and a processor core coupled to the memory subsystem,wherein the processor core includes the requestor.
 22. The dataprocessing system of claim 21, wherein the processor core handles thetarget memory block based on a timing indicated by the posted statusindicator.
 23. The data processing system of claim 21, wherein theprocessor core includes: an execution unit that speculatively finishesexecution of one or more instructions that are dependent on the targetmemory block prior to receipt of the data error indicator; andcompletion logic that completes the one or more instructions in responseto the data error indicator.
 24. The data processing system of claim 21,wherein the processor core, in response to the data error indicatorindicating an error in the target memory block, reissues the memoryaccess request with the first timing disabled.
 25. A design structuretangibly embodied in a machine-readable storage medium for designing,manufacturing, or testing an integrated circuit, the design structurecomprising: a memory subsystem of a data processing system, including:an error detection circuit; and control logic coupled to system memory,wherein the control logic selects, based at least on addresses ofpreviously detected errors in a memory subsystem, between at least afirst timing and a second timing of data transmission with respect tocompletion of error detection processing by the error detection circuiton a target memory block of a memory access request, wherein the controllogic, responsive to receipt of the memory access request and selectionof the first timing, causes the memory subsystem to transmit data fromthe target memory block to a requestor prior to completion of errordetection processing on the target memory block by the error detectioncircuit, and wherein the control logic, responsive to receipt of thememory access request and selection of the second timing, causes thememory subsystem to transmit data from the target memory block to therequestor after and in response to completion of error detectionprocessing on the target memory block by the error detection circuit.26. The design structure of claim 25, wherein the design structurecomprises a hardware description language (HDL) design structure.